import axios from "./axios";
export const wearth = (params) => {
  return axios({
    method: "get",
    url: "http://v1.yiketianqi.com/api",
    params,
  });
};
export const Getoption=()=>{
  return axios({
    method:'get',
    url:'http://localhost:3002/v1.0/api/intelligentDetection/data'
  })
}
export const Getelewearth=()=>{
  return axios({
    method:'get',
    url:'http://localhost:3002/v1.0/api/intelligentDetection/dataTop'
  })
}
export const GetFlow=()=>{
  return axios({
    url:'http://localhost:3002/v1.0/api/intelligentDetection/dataBottom',
    method:'get',
  })
}
export const Getmap=(data)=>{
  return axios({
    url:`https://geo.datav.aliyun.com/areas_v3/bound/${data}_full.json`,
  })
}
export const Getlist=(params)=>{
  return axios({
    url:'http://localhost:3000/Getlist/kist',
    method:'get',
    params:params,
  })
}